﻿<UserControl x:Class="PocketBook.UI.View.Workspaces.FileWorkspaceView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" MinWidth="200" MaxWidth="300"/>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <ListBox Grid.Column="0" Grid.RowSpan="2" Margin="6,6,6,6" Width="Auto" MinWidth="160" ItemsSource="{Binding Path=FileMenu}" ItemTemplate="{StaticResource FileMenuTemplate}" Focusable="False" SelectionMode="Extended" />
        <GridSplitter Grid.Column="0" Grid.RowSpan="2" HorizontalAlignment="Right" Width="2" Background="#cccccc" Height="100" />
        <Grid Grid.Column="1" Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Border Grid.Column="1" Grid.Row="0" BorderBrush="Gray" Margin="4,6,6,6" BorderThickness="1" Padding="6,6,30,6">
                <Image  Source="/Resources/Images/pocketbook.jpg" Height="200" Width="Auto" HorizontalAlignment="Right"/>
            </Border>
            <Border Grid.Column="1" Grid.Row="1" VerticalAlignment="Stretch" BorderBrush="Gray" Margin="4,6,6,6" BorderThickness="1" Padding="6,6,30,6">
                <StackPanel VerticalAlignment="Stretch">
                    <TextBlock FontSize="32" HorizontalAlignment="Right" >
                    <TextBlock.Text>
                        Pocket Book
                    </TextBlock.Text>
                    </TextBlock>
                    <TextBlock FontSize="14" HorizontalAlignment="Right" >
                        <TextBlock.Text>
                            ver. 1.0
                        </TextBlock.Text>
                    </TextBlock>
                </StackPanel>
            </Border>
        </Grid>

    </Grid>
</UserControl>
